
<div class="modal fade" id="deleteAlertModal" data-item-id="" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content  border-danger">
      <div class="modal-header">
        <h5 class="modal-title text-danger"  id="exampleModalLabel">警告</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body container">
        <h5 class="text-danger ">此操作不可逆, 还要继续吗?</h5>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-danger" onclick="submitItemStatusChange($('#deleteAlertModal').attr('data-item-id'), true, true)">继续</button>
        <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
      </div>
    </div>
  </div>
</div>

<div class="modal fade" id="offShelfAlertModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">确认操作</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body container">
        <h5>确定要下架吗?</h5>
        <p class="pt-2 mb-0">下架的商品可以重新上架, 暂时不想卖的话就下架吧!</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" onclick="submitItemStatusChange($('#offShelfAlertModal').attr('data-item-id'), false, false)">下架</button>
        <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
      </div>
    </div>
  </div>
</div>
